package cn.lan.scau_hotel_service.service;

import cn.lan.scau_hotel_service.entity.Hotel;

import java.util.List;

public interface HotelService{


    Hotel getHotelById(int id);

    Hotel getHotelByName(String name);

    boolean saveHotel(Hotel hotel);

    boolean deleteHotelById(int hotelId);

    List<Hotel> findAll();
}
